<!doctype html>
<html class="no-js fixed-layout">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>@if($icon->name == '暂无' || $icon->name == '' || $icon->name == null)光耀后台@else{{$icon->name}}@endif</title>
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="{{$icon->image}}">
    <link rel="apple-touch-icon-precomposed" href="{{$icon->image}}">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link rel="stylesheet" href="/vendor/amazeui/assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="/vendor/amazeui/assets/css/admin.css">
    <link rel="stylesheet" href="/vendor/nprogress/nprogress.css">
    <link rel="stylesheet" href="/css/admin.css">
    @yield('css')
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Ca King 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
    以获得更好的体验！</p>
<![endif]-->
{{-- header start --}}
@include('layouts.admin._header')
{{-- header end --}}

<div class="am-cf admin-main">
    <!-- sidebar start -->
@include('layouts.admin._sidebar')
<!-- sidebar end -->

    <!-- content start -->
@yield('content')
<!-- content end -->

</div>

<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu"
   data-am-offcanvas="{target: '#admin-offcanvas'}"></a>

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="/vendor/amazeui/assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="/js/jquery.min.js"></script>
<!--<![endif]-->
<script src="/vendor/amazeui/assets/js/amazeui.min.js"></script>
<script src="/vendor/amazeui/assets/js/app.js"></script>
<script src="/js/destroy.js"></script>
<script src="/vendor/html5-fileupload/jquery.html5-fileupload.js"></script>
<script src="/vendor/nprogress/nprogress.js"></script>
<script src="/js/admin.js"></script>
@yield('js')
</body>
</html>
